package com.lee.bean;

import java.util.Date;

public class Refer {
    private String referid;

    private String name;

    private String telephone;

    private String qq;

    private Date createdate;

    private String staffid;

    private String intentionlevel;

    private String classid;

    private String coursetypeid;

    private String source;

    private String status;

    private String remark;

    private Class aClass;

    private Staff staff;

    public Refer(String referid, String name, String telephone, String qq, String intentionlevel, String classid, String coursetypeid, String source, String remark) {
        this.referid = referid;
        this.name = name;
        this.telephone = telephone;
        this.qq = qq;
        this.intentionlevel = intentionlevel;
        this.classid = classid;
        this.coursetypeid = coursetypeid;
        this.source = source;
        this.remark = remark;
    }

    @Override
    public String toString() {
        return "Refer{" +
                "referid='" + referid + '\'' +
                ", name='" + name + '\'' +
                ", telephone='" + telephone + '\'' +
                ", qq='" + qq + '\'' +
                ", createdate=" + createdate +
                ", staffid='" + staffid + '\'' +
                ", intentionlevel='" + intentionlevel + '\'' +
                ", classid='" + classid + '\'' +
                ", coursetypeid='" + coursetypeid + '\'' +
                ", source='" + source + '\'' +
                ", status='" + status + '\'' +
                ", remark='" + remark + '\'' +
                ", aClass=" + aClass +
                ", staff=" + staff +
                '}';
    }

    public Refer(){
    }

    public Class getaClass() {
        return aClass;
    }

    public void setaClass(Class aClass) {
        this.aClass = aClass;
    }

    public Refer(String referid, String name, String telephone, String qq, Date createdate, String staffid, String intentionlevel, String classid, String coursetypeid, String source, String status, String remark, Class aClass, Staff staff) {
        this.referid = referid;
        this.name = name;
        this.telephone = telephone;
        this.qq = qq;
        this.createdate = createdate;
        this.staffid = staffid;
        this.intentionlevel = intentionlevel;
        this.classid = classid;
        this.coursetypeid = coursetypeid;
        this.source = source;
        this.status = status;
        this.remark = remark;
        this.aClass = aClass;
        this.staff = staff;
    }

    public Staff getStaff() {
        return staff;
    }

    public void setStaff(Staff staff) {
        this.staff = staff;
    }

    public String getReferid() {
        return referid;
    }

    public void setReferid(String referid) {
        this.referid = referid == null ? null : referid.trim();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone == null ? null : telephone.trim();
    }

    public String getQq() {
        return qq;
    }

    public void setQq(String qq) {
        this.qq = qq == null ? null : qq.trim();
    }

    public Date getCreatedate() {
        return createdate;
    }

    public void setCreatedate(Date createdate) {
        this.createdate = createdate;
    }

    public String getStaffid() {
        return staffid;
    }

    public void setStaffid(String staffid) {
        this.staffid = staffid == null ? null : staffid.trim();
    }

    public String getIntentionlevel() {
        return intentionlevel;
    }

    public void setIntentionlevel(String intentionlevel) {
        this.intentionlevel = intentionlevel == null ? null : intentionlevel.trim();
    }

    public String getClassid() {
        return classid;
    }

    public void setClassid(String classid) {
        this.classid = classid == null ? null : classid.trim();
    }

    public String getCoursetypeid() {
        return coursetypeid;
    }

    public void setCoursetypeid(String coursetypeid) {
        this.coursetypeid = coursetypeid == null ? null : coursetypeid.trim();
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source == null ? null : source.trim();
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status == null ? null : status.trim();
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }
}